<?php
###############   COPYLEFT GPLv3 LICENSE   ###############
##
## JFX Version 0.2.9
## Website Management Software
## www.jfxcms.com
##
## Copyright 2009 GPLv3 - http://www.opensource.org/licenses/gpl-3.0.html
##
## Anthony Gallon
## oi_antz@hotmail.com
##
## Permission is hereby granted to any person having a copy of this software
## to freely use and modify as required so long as the copyright notices
## and branding remain intact.
##
## Full license details available at http://www.jfxcms.com/license
##
###############   COPYLEFT GPLv3 LICENSE   ###############


if(get('JFXGetAjaxContent')!=='1'){

    if(!isset($USER->JFX_Theme_Default_MenuOpen)) $USER->JFX_Theme_Default_MenuOpen = 0;
    $USER->JFX_Theme_Default_MenuOpen = (int)  $USER->JFX_Theme_Default_MenuOpen;


    $code = explode('_', $USER->lang);
    $SMARTY->assign('langCode', strtolower($code[1]));
    $SMARTY->assign('langTitle', $USER->lang);
    $SMARTY->assign('workspaceTitle', $CORE->getContentLang('workspace_title', $USER->workspace));

    $cssFiles = array(
        'admin.css',
        'forms.css',
        'admin-menu.css',
        'admin-layout.css',
        'thickbox.css',
        'admin-blocker.css',
        'jquery.treeview.css',
        'ui-default-blue/accordion-default-blue.css'
    );

    $this->addStylesheet(implode(',', $cssFiles));

}// end if get('JFXGetAjaxContent')!==1

